#ifndef SOUNDUTIL_H
#define SOUNDUTIL_H

#include <QString>
#include <QSound>

class SoundUtil
{
public:
    SoundUtil();
    /**
     * @brief backSound 返回音效
     */
    static void backSound();
    /**
     * @brief winSound 胜利音效
     */
    static void winSound();
    /**
     * @brief coinSound 金币音效
     */
    static void coinSound();
    /**
     * @brief actSound 开始按钮音效
     */
    static void actSound();
    /**
     * @brief openSound 播放音效
     * @param path
     */
    static void openSound(QString path);
};

#endif // SOUNDUTIL_H
